# 添加中间件用于拿到token中的用户id
from fastapi import Request
from app.utils.jwt import check_token


async def get_userinfo(request: Request, call_next):
    print(request.url)


    response = await call_next(request)
    print("dd",response.headers)
    return response



